package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("用户注册请求实体")
@Data
public class UserRegisterRequest {
    @ApiModelProperty(value="昵称",example = "小二黑")
    private String name;

    @ApiModelProperty(value="密码",example = "123456")
    private String pwd;

    @JsonProperty("head_img")
    @ApiModelProperty(value="头像",example = "")
    private String headImg;

    @ApiModelProperty(value="个性签名",example = "努力就不会差")
    private String slogan;

    @ApiModelProperty(value="性别",example = "1")
    private Integer sex;

    @ApiModelProperty(value="邮箱",example = "710301333@qq.com")
    private String mail;

    @ApiModelProperty(value="验证码",example = "584984")
    private String code;
}
